package edu.sctu.zhuyingzhi.month201506.day20150608.timerV1;

/**
 * Created by user13 on 2015/6/7.
 */
public class Pause implements Runnable{
    private Thread tread;

    Start start;

    public void setTread(Thread tread,Start start){
           this.tread  = tread;
           this.start = start;
    }

    @Override
    synchronized public void run() {

        start.setJudge(false);
        System.out.println("计时暂停 当前时间"+start.getTime());

    }
    public void start1(){
        tread.start();
    }
}
